package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

/**
 * 占绿移植信息附件
 *
 * @author code-generate
 * @date 2023-03-03
 */
@Data
@DbTable(tableName = "t_gre_transplant_file")
public class GreTransplantFile extends BaseEntity {
    /**
     * 占用信息id t_gre_transplant.c_id
     */
    @DbTableField(columnName = "c_transplant_id", dbType = DbTypeEnum.INTEGER)
    public Integer transplantId;

    /**
     * 业务类型 1 占绿事由 2 占绿地点及范围 3 占绿内容 4 缴款金额，5 移植地点
     */
    @DbTableField(columnName = "c_data_type", dbType = DbTypeEnum.TINYINT)
    public Byte dataType;

    /**
     * 文件id
     */
    @DbTableField(columnName = "c_file_id", dbType = DbTypeEnum.VARCHAR)
    public String fileId;

    /**
     * 文件名称
     */
    @DbTableField(columnName = "c_file_name", dbType = DbTypeEnum.VARCHAR)
    public String fileName;

    /**
     * 文件类型
     */
    @DbTableField(columnName = "c_file_type", dbType = DbTypeEnum.VARCHAR)
    public String fileType;


}
